package com.ruoyi.system.domain;

import com.ruoyi.common.core.domain.entity.SysRole;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 职权信息对象 sys_powers
 * 
 * @author ruoyi_Dzy
 * @date 2022-02-12
 */
public class SysPowers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String recNo;

    /** 职权名称 */
    @Excel(name = "职权名称")
    private String powerName;

    /** 职务（字典，多个用“；”分开） */
    @Excel(name = "职务", readConverterExp = "字=典，多个用“；”分开")
    private String powerDuties;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 顺序号 */
    @Excel(name = "顺序号")
    private Long orderNo;

    /** 角色  */
    private SysRole sysRole;

    public SysRole getSysRole() {
        return sysRole;
    }

    public void setSysRole(SysRole sysRole) {
        this.sysRole = sysRole;
    }

    public void setRecNo(String recNo)
    {
        this.recNo = recNo;
    }

    public String getRecNo() 
    {
        return recNo;
    }
    public void setPowerName(String powerName) 
    {
        this.powerName = powerName;
    }

    public String getPowerName() 
    {
        return powerName;
    }
    public void setPowerDuties(String powerDuties) 
    {
        this.powerDuties = powerDuties;
    }

    public String getPowerDuties() 
    {
        return powerDuties;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setOrderNo(Long orderNo) 
    {
        this.orderNo = orderNo;
    }

    public Long getOrderNo() 
    {
        return orderNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recNo", getRecNo())
            .append("powerName", getPowerName())
            .append("powerDuties", getPowerDuties())
            .append("delFlag", getDelFlag())
            .append("orderNo", getOrderNo())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
